<?php require_once('../../core/import.php');?>
<?php User::Permission('ACCOUNT_ADD'); ?>
<?php
$username=Functions::FormArgs('username');
$Data=DB::GetRows('select id,username from `account` where username=\''.$username.'\'');
if(count($Data)>0){
	echo '<span style="border:1px solid #ff5900;  background:#fff7e7">对不起，该账户已被注册</span>';
}else
{	
	echo '<span style="border:1px solid #5BBC36;  background:#AFDAA6">OK!</span>';
}
?>